﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Presentation.Content.login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Login - Academy Manager</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <a name="Login"></a>
	<h1>Login</h1>
    <div>
    <form id="frmlogin" runat="server">
        <table>
            <tr>
                <td>Nombre de usuario: </td><td><asp:TextBox ID="txtUserName" runat="server" ValidationGroup="gLogin" MaxLength="8"></asp:TextBox></td>
                <td><asp:RequiredFieldValidator ID="rfvUserName" runat="server" ErrorMessage="Debe ingresar una dirección." ControlToValidate="txtUserName" ValidationGroup="gLogin"></asp:RequiredFieldValidator></td>
                
            </tr>
            <tr>
                <td>Contraseña: </td><td><asp:TextBox ID="txtPass" runat="server" ValidationGroup="gLogin" MaxLength="20"></asp:TextBox></td>
                <td><asp:RequiredFieldValidator ID="rfvPass" runat="server" ErrorMessage="Debe ingresar una contraseña." ControlToValidate="txtPass" ValidationGroup="gLogin"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td></td><td><asp:Button CssClass="boton" ID="btnLogin" runat="server" Text="Login" ValidationGroup="gLogin" OnClick="btnLogin_Click"/></td>
            </tr>
        </table>
        <br />
        <asp:Label ID="lblErrorLogin" runat="server" Text=""></asp:Label>
    </form>
    </div>
</asp:Content>